
import { InjectionKey } from 'vue'
import { Menu, PackageInfo, UserInfo,UserState } from './type'
import { createStore, useStore as baseUseStore, Store } from 'vuex'
const state: UserState = {
    // 用户信息
    userInfo: null,
    // 用户菜单
    menus: <Array<Menu>>([]),
    // 套餐信息
    packageInfo: null
}

export default  {
    namespaced: true,

    mutations:{
        userLogin:()=>{
            
        }
    },
    actions:{

    }
};